package org.example.project

import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.window.ComposeViewport
import kotlinx.browser.document

@OptIn(ExperimentalComposeUiApi::class)
fun main() {
    // 获取HTML中的root元素作为渲染目标
    val root = document.getElementById("root") ?: document.body!!
    ComposeViewport(root) {
        App()
    }
}